$OpenBSD: patch-websockify_websocket_py,v 1.2 2016/06/04 22:52:24 gsoares Exp $
--- websockify/websocket.py.orig	Thu Feb 18 16:11:15 2016
+++ websockify/websocket.py	Sat Jun  4 19:47:55 2016
@@ -722,15 +722,6 @@ class WebSocketServer(object):
 
             if  tcp_keepalive:
                 sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1)
-                if tcp_keepcnt:
-                    sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPCNT,
-                                    tcp_keepcnt)
-                if tcp_keepidle:
-                    sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPIDLE,
-                                    tcp_keepidle)
-                if tcp_keepintvl:
-                    sock.setsockopt(socket.SOL_TCP, socket.TCP_KEEPINTVL,
-                                    tcp_keepintvl)
 
             if connect:
                 sock.connect(addrs[0][4])
